package com.qc31.comlib.net

import com.qc31.baselib.utils.MLog
import com.qc31.comlib.Keys

/**
 *@Author Jasper
 *@Time   2020/7/21
 *@Desc   請求服务
 */
class ServiceHelper private constructor() {
    companion object {
        private val instance: ServiceHelper by lazy(mode = LazyThreadSafetyMode.SYNCHRONIZED) {
            ServiceHelper()
        }

        fun getRepository(): NetRepository {
             MLog
            return instance.repo
        }
    }


    private val repo by lazy { NetRepository() }
}